package com.mjp.learn.multi.basic;

/**
 * 通过lamba 表达式创建Thread
 */
public class Demo04 {
    public static void main(String[] args) {
        new Thread(()->{
            for(int i = 0 ; i < 10; i ++){
                System.out.println(i);
            }
        }).start();
    }
}
